#ifndef __MAIN_H__
#define __MAIN_H__

#include <GL/glut.h>
#include <cstdio>
#include "polygon.h"

#define PROGRAM_NAME "CG5"
#define WINDOW_SIZE (400)



void onRenderScene(void);
void inital();
void onChangeSize(GLsizei w, GLsizei h);
void onTimeChange(int value);
void idle(void);
void onSpecialKeyDown(GLint key,GLint x,GLint y);
void onKeyDown(unsigned char key,GLint x,GLint y);
void initVar();


void fun1_face();
void fun2_scale();
void fun2_scale(GLdouble x,GLdouble y,GLdouble z);
void fun3_rotate();
void fun3_rotate(GLdouble offset);
void fun4_symmetry();

void printPromopt();
enum PAGE_LOCATION {MAN_FACE=0,SCALE,ROTATE,SYMMETRY};


#endif // !__MAIN_H__
